package com.ham.mud.commands;

import com.ham.mud.Colors;
import com.ham.mud.ServerConnection;

/**
 * Created by hlucas on Jun 21, 2011 at 3:03:14 PM
 */
public class EquipmentCommand extends PlayerCommand {
    @Override
    public void execute(ServerConnection connection, String[] params) {
        connection.println(Colors.NEW_LINE + "Your equipment:");
        connection.getPlayer().showEquipment(connection);
        connection.println();
        connection.showPrompt();
    }

    @Override
    protected String getCommandName() {
        return "equipment";
    }
}
